<?php
require_once "session.php";
$id=$_REQUEST["id"];
$name=$_REQUEST["name"];
$bank=$_REQUEST["bank"];
$num=$_REQUEST["num"];
$weixin_id=$_SESSION["user"];
$user = $core->GetUserByWxId($weixin_id);

$result=$core->SetCard($id,$user["id"],$num,$name,$bank);


echo $result;
